package com.yanfei.zero.application.handler.perms;

import java.util.List;
import java.util.Set;

import com.yanfei.zero.domain.user.model.perms.CmResource;

public interface ICmResourceService {

	public Set<String> getAllPaths();

	public Set<String> getPathsByUserId(String string);

	public void deleteResourceByType(int i);

	public void insertResources(List<CmResource> list);
	
	// 获取树形结构
	public List<CmResource> getTree();
	
	public List<CmResource> getTree2();

}
